package huadi.android.helloworld;

import huadi.android.helloworld.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

public class HelloWorldActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		// TextView tv = new TextView(this);
		// tv.setText("Hello, Android");
		// setContentView(tv);

		// TextView tv = (TextView) this.findViewById(R.id.textview);
		// setContentView(tv);

		// LinearLayout ll = (LinearLayout) getLayoutInflater().inflate(R.layout.main, null);
		// TextView tv = (TextView) ll.findViewById(R.id.textview);
		// tv.setText(R.string.hello);
		// setContentView(ll);
	}
}